package com.orientsec.autotest.project.system.sourcestruct.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * 数据源结构配置表 sourcestruct
 * 
 * @author autotest
 * @date 2019-12-30
 */
public class Sourcestruct extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 编号 */
	private String ssno;
	/** 名称 */
	private String ssname;
	/** 数据源配置类型 1:sqlserver,2:dbf,3:文件 */
	private String sstype;
	/** 描述 */
	private String disc;
	/** 文件名/表名 */
	private String tname;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setSsno(String ssno) 
	{
		this.ssno = ssno;
	}

	public String getSsno() 
	{
		return ssno;
	}
	public void setSsname(String ssname) 
	{
		this.ssname = ssname;
	}

	public String getSsname() 
	{
		return ssname;
	}
	public void setSstype(String sstype) 
	{
		this.sstype = sstype;
	}

	public String getSstype() 
	{
		return sstype;
	}
	public void setDisc(String disc) 
	{
		this.disc = disc;
	}

	public String getDisc() 
	{
		return disc;
	}
	public void setTname(String tname) 
	{
		this.tname = tname;
	}

	public String getTname() 
	{
		return tname;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ssno", getSsno())
            .append("ssname", getSsname())
            .append("sstype", getSstype())
            .append("disc", getDisc())
            .append("tname", getTname())
            .toString();
    }
}
